<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<jsp:include page="helpers/layout_header.jsp"></jsp:include>

<%-- body --%>
<c:choose>
	<c:when test="${sessionScope.usuario.tipo eq 'ADMIN' }">
		<jsp:include page="helpers/header_admin.jsp" />
	</c:when>
	<c:otherwise>
		<jsp:include page="helpers/header_usuario.jsp" />
	</c:otherwise>
</c:choose>

<div id="div-home" class="row container">
	<h1>Bem vindo ao Museu, ${sessionScope.usuario.nomeCompleto}!</h1>
	<h2>Visite a página de eventos e compre Tickets para visitar o museu.</h2>
</div>

<a class="modal" style="display:none;" href="#" data-reveal-id="modal-processando"></a>

<div id="modal-processando" class="reveal-modal" data-reveal>
	<h2>Processando</h2>
	<a class="close-reveal-modal">&#215;</a>
</div>

<%-- /body --%>

<jsp:include page="helpers/layout_footer.jsp"></jsp:include>

<script type="text/javascript" src="resources/js/views/index.js" ></script>